import request from "@/utils/request";



export const visitweb = () => request({

    url: '/visit',
    method: 'get'
})

export const register = () => request({
    url: "/visit/register",
    method: "GET"
})
export const visibwebcurren = (year: number, month: number) => request({
    url: "/visit/admin" + `/${year}/${month}`,
    method: "GET"
})


export const foodquar = (type: string) => request({
    method: "GET",
    url: "/ecfood" + `/${type}`
})

export const foodlist = (year: number) => request({
    url: "/ecfood/list" + `/${year}`
})